<extend  name="Public:base" />
<block name="title">首页</block> 
<block name="style">
	<style type="text/css"> 
	</style>
</block>
<block name="content"> 
	
	<ol class="breadcrumb">
	  <li><a href="__CONTROLLER__/role">管理员角色</a></li> 
	  <li class="active">{$title}</li>
	</ol>  
	<form action="__CONTROLLER__/save_role" method="post"  class="form-horizontal">
			<input type="hidden" name="role_id" value="{$info.role_id}" />
			<div class="form-group">
				<label for="inputtext" class="col-sm-2 control-label">角色名称</label>
			    <div class="col-sm-10">
			      <input type="text" class="form-control" name="name" id="inputtext" placeholder="名称">
			    </div>
			</div>
			<div class="form-group">
				<label for="inputtext" class="col-sm-2 control-label">描述</label>
			    <div class="col-sm-10"> 
			      <textarea name="desc" class="form-control" id="" cols="30" rows="4" placeholder="描述"></textarea>
			    </div>
			</div> 
			<div class="form-group">
				<label for="" class="control-label col-md-2">权限分配</label>
				<label class="control-label"><input type="checkbox"  id="checkAll" />全选</label>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2">
					<a href="javascript:history.back()" class="btn btn-default">返回上页</a>
					<button class="btn btn-info">保存</button>
				</div>
			</div>
		</form>
</block>
